import Vue from 'vue'
import App from './App.vue'
// 导入路由包
import VueRouter from 'vue-router'

import VueLazyload from '../node_modules/vue-lazyload'
// 导入mint-ui包
import Mint from 'mint-ui'

import router from './assets/js/router'
import axios from 'axios'



import '../node_modules/mint-ui/lib/style.css'
// 导入重置样式文件
import './assets/css/cssreset.css'

import './assets/font/iconfont.css'
import './assets/font/iconfont'

import VueAwesomeSwiper from 'vue-awesome-swiper'
import '../node_modules/swiper/swiper-bundle.css'




Vue.use(VueRouter);
Vue.use(Mint);
Vue.use(VueAwesomeSwiper)
Vue.use(VueLazyload, {
  loading: require('./assets/images/load.gif'),
  error: require('./assets/images/load.gif')
})

Vue.prototype.$http = axios;

new Vue({
  el: '#app',
  render: h => h(App),
  router
})


